/**
 * @Description:
 * @author tao.xie
 * @date $
 */

import React, { Component } from 'react'
import {
  StyleSheet,
  Text,
  View,
  Image
} from 'react-native'
import SKUModule from './SKUModule.js'

export default class StoreModule extends React.PureComponent {
  render () {
    return (
      <View style={styles.container}>
        {
          this.props.store.skuList.map(sku =>
            <SKUModule sku={sku}/>
          )
        }
      </View>
    )
  }
}

const styles = StyleSheet.create({
  container: {
    flex: 1
  }
})